package com.xbongbong.saas.enums.dictionary;

import lombok.Getter;

/**
 * @author 吴峰
 * @date 2020/08/27 10:14
 */
@Getter
public enum  NewEnum {

    YES(1, "enum.new.name.yes"),
    NO(0, "enum.new.name.no"), ;

    private int code;
    private String name;

    NewEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }
}
